home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / dexter.swf / scripts / DefineButton2_317 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2003-10-24  |  512 b   |  27 lines

  1. on(release){
  2.    set("/:mode","0");
  3.    if(eval("/:dark") == "1" and eval("/:in") eq "dexter")
  4.    {
  5.       tellTarget("/screen")
  6.       {
  7.          gotoAndStop(6);
  8.       }
  9.    }
  10.    else if(eval("/:dark") == "2" and eval("/:in") eq "dedee")
  11.    {
  12.       tellTarget("/screen")
  13.       {
  14.          gotoAndStop(6);
  15.       }
  16.    }
  17.    else
  18.    {
  19.       tellTarget("/screen")
  20.       {
  21.          gotoAndStop(1);
  22.       }
  23.    }
  24.    setProperty("../o" add _name.substr("2","3"), _visible, "0");
  25.    gotoAndStop(2);
  26. }
  27.